<!DOCTYPE html>
<html lang="zh-CN"	style="overflow-x:hidden;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="generator" content="大连凌睿科技有限公司" />
<meta name="author" content="大连凌睿科技有限公司" />
<meta name="copyright" content="2010-2012 大连凌睿科技有限公司" />
<meta name="description" content="" />
<meta name="robots" content="all" />
<meta name="keywords" content="" />
<link href="<?=STATIC_URL;?>favicon.ico" type="image/x-icon" rel="icon" />
<link href="<?=STATIC_URL;?>favicon.ico" type="image/x-icon" rel="shortcut icon" />
<title>外卖企业管理系统 - 后台管理中心</title>
<link rel="stylesheet" href="<?=STATIC_URL;?>css/admin.css" type="text/css" media="all" />
<script language="javascript" type="text/javascript" src="<?=STATIC_URL;?>js/jquery-1.7.1.min.js"></script>
<script language="javascript" type="text/javascript" src="<?=STATIC_URL;?>js/artDialog/jquery.artDialog.js?skin=default"></script>
<script language="javascript" type="text/javascript" src="<?=STATIC_URL;?>js/admin.js"></script>
<script type="text/javascript">
//提示信息框
function tipsbox(tips){
	art.dialog({
		id:'tipsbox',
		content: tips,
		title:'操作提示'
	});
}
//区块搜索
function zone_select(obj, zone_id, subzone_id){
	zone_id    = parseInt(zone_id);
	if(isNaN(zone_id) || zone_id == undefined) {
		zone_id = 0;
	}
	subzone_id = parseInt(subzone_id);
	if(isNaN(subzone_id) || subzone_id == undefined) {
		subzone_id = 0;
	}
	$.get(
		'/tools/zoneOption?pid=' + zone_id + '&zid=' + subzone_id,
		function(result){
			$(obj).html('<option value="0" selected>请选择...</option>' + result);
		}
	);
}
$(document).ready(function() {
	if($("#zone_id")){
		var zone_id    = $("#zone_id").attr("sel") | 0;
		var subzone_id = $("#subzone_id").attr("sel") | 0;
		zone_select("#zone_id", 0, zone_id);
		if(zone_id >0){
			zone_select("#subzone_id", zone_id, subzone_id);
		}
		$('#zone_id').change(function(){
			zone_select("#subzone_id", $(this).val());
		});
	}
	$(".formtable").find("tr")
		.mouseover(function(){$(this).css({"background":"#F5F5F5"});})
		.mouseout(function(){$(this).css({"background":"#FFFFFF"});})
});
</script>
<script language=javascript>
<!--
if ((screen.height == 768 || screen.height == 720)){
	document.write('<style>#left {height:500px; overflow:auto;} </style>')
}
//-->
</script>
</head>

<body>
<!-- 头部 -->

<div id="top">
  <div id="header">
    <!-- 头部右侧 -->
    <!-- 头部左侧 -->
    <div id="logo"> <a href="#" title="网站首页" target="_blank"><img src="<?=STATIC_URL;?>img/admin/logo.gif" /> </a> </div>
    <span class="switch">
    <select name="website" id="changewebsite" disabled>
      <option value="1">大连站管理</option>
      <option value="2">北京站管理</option>
    </select>
    </span>
    <div id="nav">
      <p> <span style="float: right">

        <a href="#" target="_blank">官方网站</a> | <!--<a href="#" target="_blank">授权</a> |-->
        <a href="#" target="_blank">支持论坛</a> |
        <a href="#" target="_blank">帮助？</a>
        </span>您好，<strong><?=h($admin->userName);?>！</strong> [<a href="javascript:if(confirm('确定要退出系统？')){location.href='<?=App::adminUrl('login', 'logout');?>';}">退出</a>] </p>
      <div class="nav">
      		<a href="<?=App::adminUrl('store','index');?>" class="<?php echo ($__tpl_menu == 1) ? 'on' : 'no' ?>">餐厅管理</a>
            <a href="<?=App::adminUrl('zone','index');?>" class="<?php echo ($__tpl_menu == 2) ? 'on' : 'no' ?>">区域管理</a>
            <!--<a href="#" class="no">用户管理</a>
            <a href="#" class="no">系统设置</a>-->
            <a href="/" class="home" target="_blank">网站首页</a> </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div>
<div id="position">
<!--
    <a href="#">生成静态</a>
    <a href="#">网站地图</a>
    <a href="#">更新缓存</a>
<?php
	if(isset($__tpl_comlink) && is_array($__tpl_comlink)){
		foreach($__tpl_comlink as $k=>$v){
			echo '<a href="'.h($v).'">'.h($k).'</a>';
		}
	}
?>
    当前位置：<?=h($__tpl_positon);?>
--></div>

<!-- 中部开始 -->
<div id="main">
  <!-- 中部左侧开始 -->
  <div id="left">
    <!-- 左侧菜单 -->
    <div id="menu">
      <dl>
        <dt>后台管理</dt>
        <span id="menubox0">
        <dd class="on"><a href="#" class="on">操作</a></dd>
        </span>
      </dl>
    </div>
<?
/*
    <!-- 左侧菜单 -->
    <div id="menu">
      <dl>
        <dt> AAAAAA
          <!--<a href="javascript:opmenubox('#menubox0','#opico0');" title="展开与收缩" id="opico0"><img src="/template/admin/skin/jiantou.gif" /></a>-->
        </dt>
        <span id="menubox0">
        <dd class="on"> <a href="#" class="on">XXXXXX</a> </dd>
        <dd> <a href="#">XXXXXX</a> </dd>
        </span>
      </dl>
      <dl>
        <dt> BBBBBBB
          <!--<a href="javascript:opmenubox('#menubox1','#opico1');" title="展开与收缩" id="opico1"><img src="/template/admin/skin/jiantou.gif" /></a>-->
        </dt>
        <span id="menubox1">
        <dd> <a href="#">XXXXXX</a> </dd>
        <dd> <a href="#">XXXXXX</a> </dd>
        <dd> <a href="#">XXXXXX</a> </dd>
        <dd> <a href="#">XXXXXX</a> </dd>
        <dd> <a href="#">XXXXXX</a> </dd>
        </span>
      </dl>
    </div>
*/
?>
  </div>
  <!-- 中部右侧开始 -->

  <div id="right">

    <!-- 右侧 -->
    <div class="right">
      <div style="width: auto;">
        <!-- RANDER START HERE! -->
        <?php include View::getTpl($__tpl_render); ?>
        <!-- RANDER END HERE! -->
        <div class="blank20"></div>
      </div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
</div>

<!-- 页底 -->
<div id="footer"> &nbsp;网站管理系统&nbsp;
<a href="#" title="Powered by 大连凌睿科技有限公司" target="_blank">&copy 大连凌睿科技有限公司</a> </div>
</body>
</html>
